package com.earthchen.gps.domain;

import java.util.Date;

/**
 * gps数据
 *
 * @author: EarthChen
 * @date: 2018/04/28
 */
public class GpsData {

    /**
     * 设备id
     */
    private String sn;

    /**
     * 时间
     */
    private Date createTime;

    /**
     * 是否定位
     * <p>
     * A定位 V未定位
     */
    private String isLocation;

    /**
     * 纬度
     */
    private String latitude;

    /**
     * 纬度标识
     * <p>
     * n表示北纬
     * <p>
     * s表示南纬
     */
    private String latitudeFlag;

    /**
     * 经度
     */
    private String longitude;

    /**
     * 经度标识
     * <p>
     * e表示东经
     * <p>
     * w表示西经
     */
    private String longitudeFlag;

    /**
     * 速度
     */
    private double speed;

    /**
     * 方向
     */
    private double direction;

    /**
     * 海拔
     */
    private double altitude;

    /**
     * 卫星数量
     */
    private Integer satelliteNumber;


    /**
     * GSM信号强度
     */
    private Integer gmsSignalIntensity;

    /**
     * 电量
     */
    private Integer power;

    /**
     * 步数
     */
    private Integer stepNumber;

    /**
     * 翻滚次数
     */
    private Integer rollNumber;

    /**
     * 终端状态
     */
    private String terminalStatus;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIsLocation() {
        return isLocation;
    }

    public void setIsLocation(String isLocation) {
        this.isLocation = isLocation;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLatitudeFlag() {
        return latitudeFlag;
    }

    public void setLatitudeFlag(String latitudeFlag) {
        this.latitudeFlag = latitudeFlag;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLongitudeFlag() {
        return longitudeFlag;
    }

    public void setLongitudeFlag(String longitudeFlag) {
        this.longitudeFlag = longitudeFlag;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public double getDirection() {
        return direction;
    }

    public void setDirection(double direction) {
        this.direction = direction;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public Integer getSatelliteNumber() {
        return satelliteNumber;
    }

    public void setSatelliteNumber(Integer satelliteNumber) {
        this.satelliteNumber = satelliteNumber;
    }

    public Integer getGmsSignalIntensity() {
        return gmsSignalIntensity;
    }

    public void setGmsSignalIntensity(Integer gmsSignalIntensity) {
        this.gmsSignalIntensity = gmsSignalIntensity;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getStepNumber() {
        return stepNumber;
    }

    public void setStepNumber(Integer stepNumber) {
        this.stepNumber = stepNumber;
    }

    public Integer getRollNumber() {
        return rollNumber;
    }

    public void setRollNumber(Integer rollNumber) {
        this.rollNumber = rollNumber;
    }

    public String getTerminalStatus() {
        return terminalStatus;
    }

    public void setTerminalStatus(String terminalStatus) {
        this.terminalStatus = terminalStatus;
    }

    @Override
    public String toString() {
        return "GpsData{" +
                "sn='" + sn + '\'' +
                ", createTime=" + createTime +
                ", isLocation='" + isLocation + '\'' +
                ", latitude='" + latitude + '\'' +
                ", latitudeFlag='" + latitudeFlag + '\'' +
                ", longitude='" + longitude + '\'' +
                ", longitudeFlag='" + longitudeFlag + '\'' +
                ", speed=" + speed +
                ", direction=" + direction +
                ", altitude=" + altitude +
                ", satelliteNumber=" + satelliteNumber +
                ", gmsSignalIntensity=" + gmsSignalIntensity +
                ", power=" + power +
                ", stepNumber=" + stepNumber +
                ", rollNumber=" + rollNumber +
                ", terminalStatus='" + terminalStatus + '\'' +
                '}';
    }
}
